package net.huashitong.scheduling.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.scheduling.dao.CapitalSchedulesDao;
import net.huashitong.scheduling.entity.CapitalSchedules;
@Service
public class CapitalSchedulesService  extends StringPKService<CapitalSchedules>{
	@Autowired
	private CapitalSchedulesDao dao;
	@Override
	protected BaseDao<CapitalSchedules,String> getDao(){
		return dao;
	}
	public List<CapitalSchedules> queryByDate(String month,String year){
		return dao.queryByDate(month, year);
	}
}
